package com.sypk.exception;

public class BusinessExcetion extends RuntimeException {

	/**
	 * 
	 */
	private static final long serialVersionUID = 6888939894184485461L;

	private String code;

	public BusinessExcetion(String message, Throwable cause) {
		super(message, cause);
	}

	public BusinessExcetion(String message, String code, Throwable cause) {
		super(message, cause);
		this.code = code;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

}
